/*
 * xmodem.h
 *
 *  Created on: Aug 5, 2019
 *      Author: duan
 */

#ifndef XMODEM_H_
#define XMODEM_H_

unsigned short crc16_ccitt(const void *buf, int len);
int xmodemReceive(unsigned char *dest, int destsz);
int xmodemTransmit(unsigned char *src, int srcsz);

#endif /* XMODEM_H_ */
